//
//  HomeCell.m
//  BabyBedtimeStory
//
//  Created by qianfeng on 15-7-2.
//  Copyright (c) 2015年 张鹏毅. All rights reserved.
//

#import "HomeCell.h"
#import "UIImageView+WebCache.h"

@implementation HomeCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)showWithModel:(StoryModel *)model{
    [self.data_list_image_urlImageView sd_setImageWithURL:[NSURL URLWithString:model.image_url] placeholderImage:[UIImage imageNamed:@"yujiazai"]];
    self.data_list_titleLabel.text = model.title;
    self.data_list_titleLabel.font = [UIFont fontWithName:@"IowanOldStyle-BoldItalic" size:18];
    self.data_list_describeLabel.text = model.describe;
    self.data_list_describeLabel.font = [UIFont fontWithName:@"Didot" size:13.5];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
